package com.cloud.lan.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cloud.lan.api.dto.req.LanUserReq;
import com.cloud.lan.api.dto.req.WxLoginRequest;
import com.cloud.lan.api.dto.resp.OnLoginResp;
import com.cloud.lan.entity.base.BaseResponse;
import com.cloud.lan.entity.model.dataobject.LanUserDO;

/**
 * <p>
 * 用户信息表 服务类
 * </p>
 *
 * @author xyqierkang@163.com
 * @since 2021-12-06
 */
public interface ILanUserV2Service extends IService<LanUserDO> {

    /**
     * 小程序-初始化
     * @author ErKang
     * @param request
     * @return com.cloud.lan.entity.base.BaseResponse<com.cloud.lan.api.dto.resp.OnLoginResp>
     * 2021/12/23 00:22
     */
    BaseResponse<OnLoginResp> onLogin(WxLoginRequest request);

    /**
     * 更新 authLogin 用户信息
     * @author ErKang
     * @param request
     * @return com.cloud.lan.entity.base.BaseResponse<java.lang.Object>
     * 2021/12/23 00:25
     */
    BaseResponse<Object> authLogin(LanUserReq request);
}
